import json


class MQHead(json.JSONEncoder):
    Date = ''
    ContentLength = 0
    ContentType = ''
    ApplicationType = ''

    # 初始化方法
    def _init_(self, _Date, _ContentLength, _ContentType, _ApplicationType):
        self.Date = _Date
        self.ContentLength = _ContentLength
        self.ContentType = _ContentType
        self.ApplicationType = _ApplicationType
